package com.lutzyt.delivery.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lutzyt.delivery.bean.req.Action;

/**
 * 激活，锁定，上架通用service
 * @author zyt
 * @param <T> 必须继承自IService 接口
 */
public interface ActionService<T> extends IService<T> {
  /**
   * 激活或者停用
   * @param action
   */
  void action(Action action);
}
